Falang\Model\Falang_Model C

Total Complexity 110
Dependencies 4
Dependents 15
Total lines 834
Lines of code 333
Logical lines of code 214
Comment lines 370
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
get_languages_list()
B
42 20 48
validate_lang()
A
52 11 21
add_language()
S
48 7 30
get_language()
S
57 6 15
get_transtable_taxonomy_types()
S
59 6 13
get_transtable_post_types()
S
59 6 13
get_translated_post_types()
S
59 6 13
get_default_locale()
S
58 5 17
get_available_locales()
S
53 4 23
get_predefined_languages()
S
56 4 16
is_translated_post_type()
S
72 5 4
delete_language()
S
55 3 18
update_language()
S
54 3 18
get_language_by_locale()
S
67 3 8
get_language_column()
S
66 3 8
cmp()
S
69 3 7
get_language_by_slug()
S
67 3 8
update_language_order()
S
61 2 11
get_option()
S
71 2 6
get_default_language()
S
67 2 8
update_option()
S
72 1 5
__construct()
S
80 1 3
update_default_lang()
S
73 1 5
reset_languages_list()
S
72 1 6
get_flags_list()
S
76 1 4
delete_option()
S
72 1 5